/**
 * Created by meiguizhinian on 2018/6/28
 * Copyright © 2018 lixiaolong. All rights reserved.
 */

//对象 let obj = new ll.Obj(param)
(function () {
	ivy.RunningLight = function () {
		//成员变量
	};
	let p = ivy.RunningLight.prototype;

	p.showAndCopyOtherSpriteState = function (sp) {
		this.shaderNode.setVisible(true);
		this.shaderNode.setTexture(sp.getTexture());
		this.shaderNode.setTextureRect(sp.getTextureRect());
		this.shaderNode.setAnchorPoint(sp.getAnchorPoint());
		this.shaderNode.setFlippedX(sp.isFlippedX());
		this.shaderNode.setRotation(sp.getRotation());
		this.shaderNode.setScaleX(sp.getScaleX());
		this.shaderNode.setScaleY(sp.getScaleY());
		this.shaderNode.setPosition(sp.getPosition());
	};
	////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
	p.shaderNode = null;
})();
